package com.ybkj.daijia.server.event.model;

import com.ybkj.daijia.server.model.Driver;
import org.springframework.context.ApplicationEvent;

public class DriverGoPickUpEvent extends ApplicationEvent {

    /**
     *
     */
    private static final long serialVersionUID = -1065443929913490878L;

    private Driver picker;

    public DriverGoPickUpEvent(Driver source, Driver picker) {
        super(source);
        this.picker = picker;
    }

    public Driver getPicker() {
        return picker;
    }

    public void setPicker(Driver picker) {
        this.picker = picker;
    }

}
